How to count repeated words in a string using Java

visit shbcf.ru